package task5;

import java.util.Objects;

public class Card {
    private String appearance;
    private int order;

    public Card(String appearance, int order) {
        setAppearance(appearance);
        this.order = order;
    }

    public String getAppearance() {
        return appearance;
    }

    public void setAppearance(String appearance) {
        this.appearance = appearance;
    }

    public int getOrder() {
        return order;
    }

    public void setOrder(int order) {
        this.order = order;
    }

    @Override
    public String toString() {
        return getAppearance();
    }
}
